<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/8/10 0010
 * Time: 16:33
 */

//公司设置
Route::get('/data', 'MemberController@data');
Route::get('/index', 'MemberController@index');

//部门
// Route::get('/department', 'MemberController@department');
Route::any('/memberall', 'MemberController@memberall');


//部门列表
// Route::any('/department/departmentlist', 'MemberController@ajax');

//用户信息提交(普通员工提交)

Route::any('/orgStaffMangeSubmit', 'MemberController@orgStaffMangeSubmit');
//用户信息提交(普通员工提交)
Route::any('/MangeSubmit', 'MemberController@MangeSubmit');

//点击返回用户所有数据
Route::any('/memberdata', 'MemberController@memberdata');


//项目阶段修改  
// Route::get('/programstage','ProgramController@programstage');
// Route::any('/prophasemsg','ProgramController@prophasemsg');
// Route::any('/prophasedel','ProgramController@prophasedel');


Route::get('member/task', [
    'as'   => 'backend.member.task',
    'uses' => 'MemberController@task',
]);
Route::resource('member' , 'MemberController');
//个人设置
Route::any('/personal','MemberController@personal');
// 项目阶段
Route::resource('program' , 'ProgramController');
//员工职级
Route::resource('rank' , 'RankController');